Class ZipDirectoryExtracting

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----com.sun.java.swing.JDialog
                                           |
                                           +----ZipDirectoryExtracting

public class ZipDirectoryExtracting
extends JDialog
This class is use to select the directory where extract the files

Version:
1.0
Author:
Frank Moisant - Patrick Titiano
See Also:
ZipTable, ZipButton

Variable Index

 o canceled
 o comboBox
 o currentDirectory
 o files
 o newFolderButton
 o owner
 o positionInPathName
 o result
 o scrollPane
 o upButton
 o zipTable

Constructor Index

 o ZipDirectoryExtracting(Frame)
Constructor of the class, initialize all the components

Method Index

 o getSelectedDirectory()
Method return the selected directory
 o isResizable()
Method calls when the window manager want to resize th Dialog
 o setPath(String)
set the path to display

Variables

 o scrollPane
 private JScrollPane scrollPane
 o zipTable
 private ZipTable zipTable
 o upButton
 private ZipButton upButton
 o newFolderButton
 private ZipButton newFolderButton
 o files
 private Vector files
 o currentDirectory
 private String currentDirectory
 o comboBox
 private JComboBox comboBox
 o result
 private Vector result
 o owner
 private Frame owner
 o positionInPathName
 public int positionInPathName
 o canceled
 public boolean canceled

Constructors

 o ZipDirectoryExtracting
 public ZipDirectoryExtracting(Frame owner)
Constructor of the class, initialize all the components

Parameters:
owner - the frame which intanciate the Dialog

Methods

 o setPath
 public void setPath(String path)
set the path to display

Parameters:
path - the path to display
 o isResizable
 public boolean isResizable()
Method calls when the window manager want to resize th Dialog

Returns:
always false
Overrides:
isResizable in class Dialog
 o getSelectedDirectory
 public String getSelectedDirectory()
Method return the selected directory

Returns:
the path + file name